{extend name='public/base' /}

{block name="style"}
{css href="/static/umeditor/themes/default/css/umeditor.css" /}
{/block}

{block name="breadcrumb"}
{$crumbs}
{/block}

{block name="body"}
<div class="col-lg-12">
    <div class="ibox float-e-margins">
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-12 b-r">
                    <h3 class="m-t-none m-b"></h3>
                    <form role="form" action="{:url('save_kefu_page')}" method="post" autocomplete="off" data-form="form">
                        <div class="form-group">
                            <label>客服类型</label>
                            <select class="form-control m-b" name="type">
                                <option value="">客服类型</option>
                                <option value="qq" {$kefu.type == 'qq' ? 'selected' : ''}>qq</option>
                                <option value="ww" {$kefu.type == 'ww' ? 'selected' : ''}>旺旺</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label>客服账号</label>
                            <input type="text" name="accounts" placeholder="accounts" class="form-control" value="{$kefu.accounts|default=''}">
                        </div>
                        <div>
                            <input type="hidden" name="id" value="{$kefu.id|default=0}">
                            <button class="btn btn-sm btn-primary m-t-n-xs" type="submit"><strong>确定</strong></button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}